Script: --on windowEvent wdID,wdName,objNo,objName,objValue¬¬if objValue="Open" then ¬ ¬else if objValue="Close" then ¬ groupClose wdName¬else if objValue="Suspend" then ¬ ¬else if objValue="Resume" then ¬ ¬else if objValue="CloseBox" then ¬ ¬else if objValue="ZoomBox" then ¬ ¬else if objValue="GrowBox" then ¬ ¬else if objValue="TitleBar" then ¬ ¬end if¬¬--end windowEvent
Script: put wsGet(wdName,1,"selectionText") into selText¬if selText is not empty then¬ wsSet wdName,4,"disabled","false"¬ wsSet wdName,5,"disabled","true"¬else¬ wsSet wdName,4,"disabled","true"¬ wsSet wdName,5,"disabled","true"¬end if
ItemType: LIST
Rect: 210,17,340,115
Name: Members
Logic: Single
Text:
Balloon: A list of Members of this Group. Select names from the Names List and mov them into this group.
Script: put wsGet(wdName,2,"selectionText") into selText¬if selText is not empty then¬ wsSet wdName,5,"disabled","false"¬ wsSet wdName,4,"disabled","true"¬else¬ wsSet wdName,4,"disabled","true"¬ wsSet wdName,5,"disabled","true"¬end if
ItemType: POP
Rect: 249,117,268,130
Name: popGroupNames
TitleItem: 16
Balloon: A pop–up listing of all Groups, by title
Script: groupPop wdName
ItemType: PUSH
Rect: 146,33,206,49
AutoSize: FALSE
Name: Copy ->
Balloon: Moves a selected name from the Names List into a Group
Script: groupCopy wdName
ItemType: PUSH
Rect: 146,59,206,75
AutoSize: FALSE
Name: Remove
Balloon: Removes a selected member from a Group
Script: groupRemoveDisp wdName
ItemType: PUSH
Rect: 182,134,262,150
Name: New Group…
Balloon: Creates a new Group. You will be asked to give the Group a title.
Script: groupNew wdName
ItemType: PUSH
Rect: 268,134,348,150
AutoSize: FALSE
Name: Re–title Group…
Balloon: Asks you for the new title for a selected Group
Script: groupRename wdName
ItemType: PUSH
Rect: 182,159,262,175
AutoSize: FALSE
Name: Delete Group
Balloon: Deletes an entire Group
Script: groupRemove wdName
ItemType: PUSH
Rect: 268,159,348,175
AutoSize: FALSE
Name: Save Group
Balloon: Saves the displayed Members as a Group
Script: put wsGet (wdName,12,"text") into recentMenu¬put line 1 of recentMenu into menuLine¬put line 2 of recentMenu into menuText¬groupSave wdName,menuLine,menuText,"false"